FROM uhub.service.ucloud.cn/tdh_test/tdh-tomcat8-jdk8-pinpoint:69ed2c73
ENV application=utruck-app-ticketapi

ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY utruck-app-ticketapi.jar ./app.jar
EXPOSE 9004
ENTRYPOINT ["java","-jar"]
CMD ["/app.jar"]